home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / cmds.fmt / lpq.man < prev    next >
Encoding:
Text File  |  1989-04-30  |  2.9 KB  |  133 lines

  1.  
  2.  
  3.  
  4. LPQ                       User Commands                       LPQ
  5.  
  6.  
  7.  
  8. NNAAMMEE
  9.      lpq - spool queue examination program
  10.  
  11. SSYYNNOOPPSSIISS
  12.      llppqq [ -l ] [ -Pprinter ] [ job # ... ] [ user ... ]
  13.  
  14. DDEESSCCRRIIPPTTIIOONN
  15.      _l_p_q examines the spooling area used by _l_p_d(8) for printing
  16.      files on the line printer, and reports the status of the
  17.      specified jobs or all jobs associated with a user.  _l_p_q
  18.      invoked without any arguments reports on any jobs currently
  19.      in the queue.  A --PP flag may be used to specify a particular
  20.      printer, otherwise the default line printer is used (or the
  21.      value of the PRINTER variable in the environment). All other
  22.      arguments supplied are interpreted as user names or job
  23.      numbers to filter out only those jobs of interest.
  24.  
  25.      For each job submitted (i.e. invocation of _l_p_r(1)) _l_p_q
  26.      reports the user's name, current rank in the queue, the
  27.      names of files comprising the job, the job identifier (a
  28.      number which may be supplied to _l_p_r_m(1) for removing a
  29.      specific job), and the total size in bytes.  The --ll option
  30.      causes information about each of the files comprising the
  31.      job to be printed.  Normally, only as much information as
  32.      will fit on one line is displayed.  Job ordering is depen-
  33.      dent on the algorithm used to scan the spooling directory
  34.      and is supposed to be FIFO (First in First Out).  File names
  35.      comprising a job may be unavailable (when _l_p_r(1) is used as
  36.      a sink in a pipeline) in which case the file is indicated as
  37.      ``(standard input)".
  38.  
  39.      If _l_p_q warns that there is no daemon present (i.e. due to
  40.      some malfunction), the _l_p_c(8) command can be used to restart
  41.      the printer daemon.
  42.  
  43. FFIILLEESS
  44.      /etc/termcap            for manipulating the screen for repeated display
  45.      /etc/printcap           to determine printer characteristics
  46.      /usr/spool/*            the spooling directory, as determined from printcap
  47.      /usr/spool/*/cf*        control files specifying jobs
  48.      /usr/spool/*/lock       the lock file to obtain the currently active job
  49.  
  50. SSEEEE AALLSSOO
  51.      lpr(1), lprm(1), lpc(8), lpd(8)
  52.  
  53. BBUUGGSS
  54.      Due to the dynamic nature of the information in the spooling
  55.      directory lpq may report unreliably.  Output formatting is
  56.      sensitive to the line length of the terminal; this can
  57.      results in widely spaced columns.
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Sprite v1.0              April 30, 1987                         1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. LPQ                       User Commands                       LPQ
  71.  
  72.  
  73.  
  74. DDIIAAGGNNOOSSTTIICCSS
  75.      Unable to open various files.  The lock file being mal-
  76.      formed.  Garbage files when there is no daemon active, but
  77.      files in the spooling directory.
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129. Sprite v1.0              April 30, 1987                         2
  130.  
  131.  
  132.  
  133.